package com.service;


import com.dao.DepDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DepService {
    @Autowired
    private DepDAO depDAO;

    public List findAll()
    {
        return depDAO.findAll();
    }
}
